package com.zlx.xBiaoShop.service;


import com.zlx.xBiaoShop.dao.TypeDao;
import com.zlx.xBiaoShop.entity.Type;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @Description type 服务层
 * @author admin
 * @date 2020-12-05 17:52:12
*/
@Service
public class TypeService {

	@Autowired
	private TypeDao typeDao;


    public List<Type> getAllGoodsType() {
        return typeDao.findAll();
    }
}
